package com.chk.user.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.chk.user.entity.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

/**
 * (User)表数据库访问层
 *
 * @author makejava
 * @since 2023-10-20 11:00:18
 */
@Mapper
public interface UserMapper extends BaseMapper<User> {
    @Select("SELECT * FROM aur_user WHERE username = #{username}")
    User getUserByUsername(@Param("username") String username);
}

